package centralizedme;

/**
 * Custom exception class throws when there are no properties in a file.
 * @author palexander
 */
public class NoPropertyFound extends Exception {

    /**
     * Default constructor using default error message.
     */
    public NoPropertyFound() {
        super("No suitable property found!");
    }

    /**
     * Additional constructor using a custom error message.
     * @param error <code>String</code> of error message to provide.
     */
    public NoPropertyFound(String error) {
        super(error);
    }

}
